import { post, get, postFormData } from "./api.js";

//example
export const getExampleApi = (params) =>
    new Promise((resolve, reject) => {
        post("api/client/user/sendVerifyCode", params)
            .then((res) => {
                resolve(res.data);
            })
            .catch((err) => {
                reject(err.data);
            });
    });
